package forum.service.rpc.api;

import forum.domain.UserRole;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * Created by Administrator on 2017/4/5.
 */
public interface UserRoleService {

    Object getUserRoleListByUsername(String username);

    public Object getUserRoleList(int page, int size, String sort,String operation, String key, String value);

    public Object updateUserRoleByUsername( String username,  Map<String, Integer> jsonObj) ;

    public Object createUserRoleByUsername(String username,  Map<String, Integer> jsonObj);

}
